<template>
  <div class="AdendDialog">
    <el-form
      ref="ruleForm"
      :model="ruleForm"
      :rules="rules"
      label-width="100px"
      class="demo-ruleForm"
    >
      <el-row>
        <el-col :span="16">
          <el-form-item label="名称" prop="name">
            <el-input v-model="ruleForm.name" clearable />
          </el-form-item>
        </el-col>
        <el-col :span="16">
          <el-form-item label="程序键" prop="age">
            <el-input v-model="ruleForm.age" clearable />
          </el-form-item>
        </el-col>
        <el-col :span="16">
          <el-form-item label="" prop="sex">
            <el-radio v-model="ruleForm.sex" label="男">男</el-radio>
            <el-radio v-model="ruleForm.sex" label="女">女</el-radio>
          </el-form-item>
        </el-col>
        <el-col :span="16">
          <el-form-item label="号码" prop="phone">
            <el-input
              v-model="ruleForm.phone"
              placeholder="请输入电话号码"
            ></el-input>
          </el-form-item>
        </el-col>
      </el-row>
      <el-form-item>
        <el-button type="primary" @click="submitForm('ruleForm')"
          >保存</el-button
        >
        <el-button @click="resetForm('ruleForm')">取消</el-button>
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
</script>

<style>
</style>
